package com.mbta.tracker;

import android.app.ListActivity;
import android.os.Bundle;
import android.os.Handler;

public class ViewWatchedStops extends ListActivity {
	
	private Thread m_timeUpdaterThread;
	private Handler m_handler;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
		
        final Runnable uiUpdater = new Runnable() {
        	public void run() { 
        		//TODO: update ui
        	}
        };
        
        m_timeUpdaterThread = new Thread(new PredictionUpdater(this, m_handler, uiUpdater));
        m_timeUpdaterThread.setDaemon(true);
        m_timeUpdaterThread.start();

        //setListAdapter(new SimpleCursorAdapter(this, ));
    }
}